package bavaria.hightech.testit;

import java.util.Date;

import bavaria.hightech.banking.ECurrency;
import bavaria.hightech.banking.Money;
import bavaria.hightech.banking.Transaction;
import bavaria.hightech.comparator.*;

public class StatementTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Transaction trans0 = new Transaction("AbCC", new Money(1000, ECurrency.EUR), 
				new Date(2011, 06, 23));
		Transaction trans1 = new Transaction("AbCD", new Money(2000, ECurrency.EUR), 
				new Date(2011, 07, 23));
		
		ValueComp valueComp = new ValueComp();
		System.out.println("ValueComp: " + valueComp.compare(trans0, trans1));
		ReasonComp reasonComp = new ReasonComp();
		System.out.println("ReasonComp: " + reasonComp.compare(trans0, trans1));
		DateComp dateComp = new DateComp();
		System.out.println("DateComp: " + dateComp.compare(trans0, trans1));
	}

}
